package Basic.day06.homework;

import java.util.Scanner;

public class HomeWork02 {
    public static void main(String[] args) {
        int[] arr = new int[10];
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入10个整数：");
        for (int i = 0; i < arr.length; i++) {
            arr[i] = sc.nextInt();
        }
        printArrayData(arr);
    }

    private static void printArrayData(int[] arr) {
        for (Object o : arr) {
            System.out.print(o + "\t");
        }
    }
}

